﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

//Author: ljj
//Date: 20190705
//Function: 增加每波敌人来袭时获取的金钱
public class EarnMoney : BaseBuff
{
    public override void BuffUp()
    {
        APController.Instance.moneyPerWave += effect;
    }

    public override void BuffDown()
    {
        if (FindObjectOfType<APController>() == null)
            return;
        APController.Instance.moneyPerWave -= effect;
    }   
}
